﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>注册</title>
<meta name="keywords" content="keywords" />
<meta name="description" content="description" />
<{include file="block/meta.tpl"}>
<link type="text/css" rel="stylesheet" href="<{$__HST_UI}>/css<{$_The.ScriptBase}>.css" />
</head>
<body>
<div id="wrap">
<{include file="block/header.tpl"}>

<div class="form register"><{$rMsg.action|escape:html}>
	<div class="inner">
		<div class="signTxt regTxt">
<{if 'en'==$smarty.session.LANG}>
			<span>!</span>If you already have a The Visus account, you can <a href="login.php"></a><span class="ps">here.</span>
<{else}>
			<span>!</span>如果您已经拥有<span class="font">theVisus</span>的帐号，请在这里<a class="si" href="login.php"></a>
<{/if}>
		</div>
		<form method="post">
		<input type="hidden" name="action" value="register" />
		<input type="hidden" name="back" value="<{$sBack|escape:html}>" />
		<div class="input">
			<span class="title"><{'form_email'|i18n|escape:html}></span>
			<input type="text" id="acct" name="acct" value="<{$rP.acct|escape:html}>"
onblur="$.get('?action=check&field=acct&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#acct_hint').html(msg).show();}else{$('#acct_hint').hide();}
});" />
			<span class="status erro" id="acct_hint"<{if !$rMsg.acct}> style="display:none;"<{/if}>><{$rMsg.acct|escape:html}></span>
		</div>
		<div class="input">
			<span class="title"><{'form_nick'|i18n|escape:html}></span>
			<input type="text" id="nick" name="nick" value="<{$rP.nick|escape:html}>"
onblur="$.get('?action=check&field=nick&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#nick_hint').html(msg).show();}else{$('#nick_hint').hide();}
});" />
			<span class="status erro" id="nick_hint"<{if !$rMsg.nick}> style="display:none;"<{/if}>><{$rMsg.nick|escape:html}></span>
		</div>
		<div class="input">
			<span class="title"><{'form_pswd'|i18n|escape:html}></span>
			<input type="password" name="pswd"
onblur="$.get('?action=check&field=pswd&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#pswd_hint').html(msg).show();}else{$('#pswd_hint').hide();}
});" />
			<span class="status erro" id="pswd_hint"<{if !$rMsg.pswd}> style="display:none;"<{/if}>><{$rMsg.pswd|escape:html}></span>
		</div>
		<div class="input">
			<span class="title"><{'form_rptpswd'|i18n|escape:html}></span>
			<input type="password" name="rpt_pswd"
onblur="$.get('?action=check&field=pswd&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#rpt_pswd_hint').html(msg).show();}else{$('#rpt_pswd_hint').hide();}
});" />
			<span class="status erro" id="rpt_pswd_hint"<{if !$rMsg.rpt_pswd}> style="display:none;"<{/if}>><{$rMsg.rpt_pswd|escape:html}></span>
		</div>
		<div class="btn"><span class="title"></span><input type="submit" value="&nbsp;" /></div>
		</form>
	</div>
</div>

<{include file="block/footer.tpl"}>
</div>
</body>
</html>
